package com.yaolin.jfinal.ioc;

import javax.inject.Inject;

import com.jfinal.aop.Before;
/**
 * 
 * @author yaolin
 *
 */
@Aop
public class IndexService {

	@Inject
	private EventService eventService;
	
	@Before(IndexInterceptor.class)
	public String service() {
		return eventService.getName();
	}
}
